package com.houkunlin;

import com.houkunlin.system.dic.starter.SystemDicScan;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.stereotype.Repository;

/**
 * 启动类
 *
 * @author HouKunLin
 */
@EnableAsync
@EnableCaching
@SystemDicScan
@ServletComponentScan
@SpringBootApplication
@MapperScan(annotationClass = Repository.class)
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }

}
